#include "../includes/mydfa.h"

int main(int argc, char **argv) {
    printf("start mydfa test\n");
    char *p = "ababc";
    mydfa *d = mydfa_create(p);
    printf("after mydfa_create\n");
    int res = mydfa_match(d, "aabbababcababcaba");
    printf("matched: %d\n", res);
    return 0;
}